<?php

return [
    'menu' => [
        'agent' => [
            'name' => '合伙人管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '合伙人列表', 'uri' => '/agent/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'agentlog' => ['name' => '合伙人收益记录', 'uri' => '/agent/agentlog', 'show' => false, 'method' => 'get'],  //index 方法名
                'agent_del' => ['name' => '删除合伙人', 'uri' => '/agent/agent_del', 'show' => false, 'method' => 'get|post'],
                'agent_edit' => ['name' => '添加、编辑商户', 'uri' => '/agent/agent_edit', 'show' => false, 'method' => 'get|post'],
                'agentarea' => ['name' => '商户服务区域', 'uri' => '/agent/agentarea', 'show' => false, 'method' => 'get'],  //index 方法名
                'agentarea_edit' => ['name' => '服务区域编辑、管理', 'uri' => '/agent/agentarea_edit', 'show' => false, 'method' => 'get|post'],
                'agentarea_del' => ['name' => '服务区域删除', 'uri' => '/agent/agentarea_del', 'show' => false, 'method' => 'get|post'],
                'agentcommu' => ['name' => '服务小区列表', 'uri' => '/agent/agentcommu', 'show' => false, 'method' => 'get'],  //index 方法名
                'agentcommu_edit' => ['name' => '服务小区编辑、管理', 'uri' => '/agent/agentcommu_edit', 'show' => false, 'method' => 'get|post'],
                'agentcommu_del' => ['name' => '服务小区禁用', 'uri' => '/agent/agentcommu_del', 'show' => false, 'method' => 'get|post'],
                // 'apply' => ['name' => '技师|商家入驻申请', 'uri' => '/agent/apply', 'show' => true, 'method' => 'get|post'],
                // 'apply_str' => ['name' => '技师|商家入驻申请审核', 'uri' => '/agent/apply_str', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],

        'user' => [
            'name' => '用户管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '用户列表', 'uri' => '/user/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'coupon' => ['name' => '用户优惠券', 'uri' => '/user/coupon', 'show' => false, 'method' => 'get'],  //index 方法名
                'sendcoupon' => ['name' => '赠送优惠券', 'uri' => '/user/sendcoupon', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'couponel' => ['name' => '作废优惠券', 'uri' => '/user/couponel', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'user_level' => ['name' => '用户配置', 'uri' => '/user/user_level', 'show' => true, 'method' => 'get'],  //index 方法名
                'user_level_edit' => ['name' => '用户配置编辑', 'uri' => '/user/user_level_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
            ],
            'show' => true,
        ],
        'shop' => [
            'name' => '商家管理',
            'ico' => '&#xe726;',
            'sub' => [
                'shoplist' => ['name' => '商家列表', 'uri' => '/shop/shoplist', 'show' => true, 'method' => 'get'],  //index 方法名
                'users' => ['name' => '商家客户', 'uri' => '/shop/users', 'show' => false, 'method' => 'get'],  //index 方法名
                'businesslog' => ['name' => '商家收益记录', 'uri' => '/shop/businesslog', 'show' => false, 'method' => 'get'],  //index 方法名
                'shoplist_edit' => ['name' => '添加、编辑商户', 'uri' => '/shop/shoplist_edit', 'show' => false, 'method' => 'get|post'],
                'goodslist' => ['name' => '产品列表', 'uri' => '/shop/goodslist', 'show' => true, 'method' => 'get'],  //index 方法名
                'businesscommu' => ['name' => '服务小区', 'uri' => '/shop/businesscommu', 'show' => false, 'method' => 'get'],  //index 方法名
                'businesscommu_edit' => ['name' => '添加、编辑商户小区', 'uri' => '/shop/businesscommu_edit', 'show' => false, 'method' => 'get|post'],
                'businesscommu_del' => ['name' => '删除负责小区', 'uri' => '/shop/businesscommu_del', 'show' => false, 'method' => 'get|post'],
                'goodslist_edit' => ['name' => '上门服务添加|编辑产品', 'uri' => '/shop/goodslist_edit', 'show' => false, 'method' => 'get|post'],
                'goodslist_edit2' => ['name' => '本地商家添加|编辑产品', 'uri' => '/shop/goodslist_edit2', 'show' => false, 'method' => 'get|post'],
                'goods_sort' => ['name' => '产品排序', 'uri' => '/shop/goods_sort', 'show' => false, 'method' => 'get|post'],
                'goods_field' => ['name' => '产品批量上下架(删除)操作', 'uri' => '/shop/goods_field', 'show' => false, 'method' => 'get|post'],
                'goodslist_del' => ['name' => '删除产品', 'uri' => '/shop/goodslist_del', 'show' => false, 'method' => 'get|post'],
                'goodsspec_del' => ['name' => '删除产品规格', 'uri' => '/shop/goodsspec_del', 'show' => false, 'method' => 'get|post'],
                'compent' => ['name' => '评论列表', 'uri' => '/shop/compent', 'show' => false, 'method' => 'get'],  //index 方法名
                'compent_add' => ['name' => '添加评论', 'uri' => '/shop/compent_add', 'show' => false, 'method' => 'get|post'],  //index 方法名
            ],
            'show' => true,
        ],
        'shops' => [
            'name' => '积分商城',
            'ico' => '&#xe6ae;',
            'sub' => [
                'banner' => ['name' => '商城Banner', 'uri' => '/shops/banner', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'banner_add' => ['name' => '添加/修改', 'uri' => '/shops/banner_add', 'show' => false, 'method' => 'get|post'],
                'banner_del' => ['name' => '删除', 'uri' => '/shops/banner_del', 'show' => false, 'method' => 'get|post'],
                'cate' => ['name' => '分类', 'uri' => '/shops/cate', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'cate_add' => ['name' => '添加/修改', 'uri' => '/shops/cate_add', 'show' => false, 'method' => 'get|post'],
                'cate_del' => ['name' => '删除', 'uri' => '/shops/cate_del', 'show' => false, 'method' => 'get|post'],
                'goods' => ['name' => '商品管理', 'uri' => '/shops/goods', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'goods_add' => ['name' => '添加/修改', 'uri' => '/shops/goods_add', 'show' => false, 'method' => 'get|post'],
                'goods_del' => ['name' => '删除', 'uri' => '/shops/goods_del', 'show' => false, 'method' => 'get|post'],
                'order' => ['name' => '订单管理', 'uri' => '/shops/order', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'ordergoods' => ['name' => '订单商品', 'uri' => '/shops/ordergoods', 'show' => false, 'method' => 'get'], // show 在菜单中是否显示
                'orderstr' => ['name' => '订单发货|取消|完结', 'uri' => '/shops/orderstr', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true, //是否打开这个功能
        ],
        'order' => [
            'name' => '订单管理',
            'ico' => '&#xe726;',
            'sub' => [
                'order' => ['name' => '待付款订单', 'uri' => '/order/order', 'show' => true, 'method' => 'get'],  //index 方法名
                'order2' => ['name' => '待服务订单', 'uri' => '/order/order2', 'show' => true, 'method' => 'get'],  //index 方法名
                'order3' => ['name' => '服务中订单', 'uri' => '/order/order3', 'show' => true, 'method' => 'get'],  //index 方法名
                'order4' => ['name' => '已完成订单', 'uri' => '/order/order4', 'show' => true, 'method' => 'get'],  //index 方法名
                'order5' => ['name' => '已取消订单', 'uri' => '/order/order5', 'show' => true, 'method' => 'get'],  //index 方法名
                'order6' => ['name' => '商家售后中订单', 'uri' => '/order/order6', 'show' => true, 'method' => 'get'],  //index 方法名
                'order7' => ['name' => '平台待自动退款订单', 'uri' => '/order/order7', 'show' => true, 'method' => 'get'],  //index 方法名
                'orderdetail' => ['name' => '订单详情', 'uri' => '/order/orderdetail', 'show' => false, 'method' => 'get|post'],
                'order_str' => ['name' => '订单取消、确认、售后操作', 'uri' => '/order/order_str', 'show' => false, 'method' => 'get|post'],
                'order_send' => ['name' => '订单发货、指派技师操作', 'uri' => '/order/order_send', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'system' => [
            'name' => '系统配置',
            'ico' => '&#xe726;',
            'sub' => [
                'banner' => ['name' => '轮播图管理', 'uri' => '/system/banner', 'show' => true, 'method' => 'get'],  //index 方法名
                'banner_edit' => ['name' => '轮播图编辑、管理', 'uri' => '/system/banner_edit', 'show' => false, 'method' => 'get|post'],
                'banner_del' => ['name' => '轮播图删除', 'uri' => '/system/banner_del', 'show' => false, 'method' => 'get|post'],
                'platclass' => ['name' => '平台类别', 'uri' => '/system/platclass', 'show' => true, 'method' => 'get'],  //index 方法名
                'platclass_edit' => ['name' => '类别编辑、管理', 'uri' => '/system/platclass_edit', 'show' => false, 'method' => 'get|post'],
                'platclass_del' => ['name' => '类别删除', 'uri' => '/system/platclass_del', 'show' => false, 'method' => 'get|post'],
                'fukalist' => ['name' => '福卡列表', 'uri' => '/system/fukalist', 'show' => true, 'method' => 'get'],  //index 方法名
                'fukalist_edit' => ['name' => '类别编辑、管理', 'uri' => '/system/fukalist_edit', 'show' => false, 'method' => 'get|post'],
                'fukalist_del' => ['name' => '类别删除', 'uri' => '/system/fukalist_del', 'show' => false, 'method' => 'get|post'],
                'platsons' => ['name' => '服务类型', 'uri' => '/system/platsons', 'show' => false, 'method' => 'get'],  //index 方法名
                'platsons_edit' => ['name' => '服务类型编辑、管理', 'uri' => '/system/platsons_edit', 'show' => false, 'method' => 'get|post'],
                'platsons_del' => ['name' => '服务类型删除', 'uri' => '/system/platsons_del', 'show' => false, 'method' => 'get|post'],
                'config' => ['name' => '系统配置信息', 'uri' => '/system/config', 'show' => true, 'method' => 'get'],  //index 方法名
                'config_edit' => ['name' => '系统配置信息编辑', 'uri' => '/system/config_edit', 'show' => false, 'method' => 'get|post'],
                'withdraw' => ['name' => '提现管理', 'uri' => '/system/withdraw', 'show' => true, 'method' => 'get'],  //index 方法名
                'withdraw_str' => ['name' => '提现驳回', 'uri' => '/system/withdraw_str', 'show' => false, 'method' => 'get|post'],
                'withdraw_str2' => ['name' => '提现通过', 'uri' => '/system/withdraw_str2', 'show' => false, 'method' => 'get|post'],
                'goodslist' => ['name' => '系统项目库', 'uri' => '/system/goodslist', 'show' => true, 'method' => 'get'],  //index 方法名
                'goodslist_edit' => ['name' => '录入系统项目', 'uri' => '/system/goodslist_edit', 'show' => false, 'method' => 'get|post'],
                'goods_field' => ['name' => '批量上下架、删除操作', 'uri' => '/system/goods_field', 'show' => false, 'method' => 'get|post'],
                'system_daoru' => ['name' => '导入服务', 'uri' => '/system/system_daoru', 'show' => false, 'method' => 'post'],  //index 方法名
                'system_daorus' => ['name' => '批量导入服务', 'uri' => '/system/system_daorus', 'show' => false, 'method' => 'post'],  //index 方法名
                'businesstype' => ['name' => '本地商家类别', 'uri' => '/system/businesstype', 'show' => true, 'method' => 'get'],  //index 方法名
                'businesstype_edit' => ['name' => '本地商家类别编辑、管理', 'uri' => '/system/businesstype_edit', 'show' => false, 'method' => 'get|post'],
                'businesstype_del' => ['name' => '本地商家类别删除', 'uri' => '/system/businesstype_del', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'admin' => [  /// controller名
            'name' => '系统管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '管理员列表', 'uri' => '/admin/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'input' => ['name' => '添加管理员', 'uri' => '/admin/input', 'show' => false, 'method' => 'get|post'],
                'del' => ['name' => '管理员删除', 'uri' => '/admin/del', 'show' => false, 'method' => 'get|post'],
                'login_log' => ['name' => '登录日志', 'uri' => '/admin/login_log', 'show' => true, 'method' => 'get']
            ],
            'show' => true,
        ],

    ]
];
